The Ctrl-Shift-F4 key combination closes the currently opened tab in the Message Window, regardless whether the focus is in there or not.